/*
 * AUTHOR:  Chris <MA_D> Hilton
 * LICENSE:  GPLv2
 * PURPOSE:  Abstract calls over xmlrpc.
*/

#include "../../simple.h"


struct blg_session
{
  char *serverUrl;
};

struct blg_session *blg_net_login(const char *server);
//Pre:  server is a c string of form:  
//Post:  Returns your login session struct.
//Returns NULL on failed login.
//Failed logins should be expected.

int blg_net_logoff(struct blg_session *);
//Pre:
//Post:  returns 0 for successful logoff,  1 for not
//failed logoffs should be expected.

